Orenbus::Application.routes.draw do
  resources :users, :user_sessions
  match 'login' => 'user_sessions#new', :as => :login
  match 'logout' => 'user_sessions#destroy', :as => :logout
  get "home/index"
  get '/', :controller => 'main', :action => 'index' 
  get ':controller/:action/:id/'
  resources :bus, :trollbus, :point, :street
end
